<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
	<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
	<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
	<link href="style.css" rel="stylesheet" type="text/css" />
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>LINKIDEIAS</title>
	</head>
	<body>
	<div id="container">
			<jsp:include page="constHeader.jsp"></jsp:include>
		<div id="content">
			<div id="content_top"></div>
				<jsp:include page="constMenu.jsp"></jsp:include>
				<div class="post">
				<h4>${mensagem}</h4>
                <div class="contentbox_top">Corrige Curso</div>
				<form action="LinkideiasController" method="post" class="form">
				<input type="hidden" id="cmd" name="cmd" value="corrigirCurso" />
		
				<label for="cursoNome_codigo">Curso</label>
				<div class="div_texbox">
					<select name="cursoNome_codigo">
						<c:forEach var="cursoNome" items="${cursoNomes}">
							<option value="${cursoNome.codigo}" ${cursoNome.codigo eq curso.cursoNome.codigo ? "SELECTED" : ""}>${cursoNome.nome}</option>			
						</c:forEach>
					</select>					
				</div>
				
				<label for="faculdade_codigo">Faculdade</label>
				<div class="div_texbox">
					<select name="faculdade_codigo">
						<c:forEach var="faculdade" items="${faculdades}">
							<option value="${faculdade.codigo}" ${faculdade.codigo eq aluno.faculdade.codigo ? "SELECTED" : ""}>${faculdade.nome}</option>
						</c:forEach>
					</select>					
				</div>
								
				<label for="turno_codigo">Turno</label>
				<div class="div_texbox">
					<select name="turno_codigo">
						<c:forEach var="turno" items="${turnos}">
							<option value="${turno.codigo}" ${turno.codigo eq aluno.turno.codigo ? "SELECTED" : ""}>${turno.nome}</option>
						</c:forEach>
					</select>					
				</div>
				
				<label for="periodo_codigo">Periodo</label>
				<div class="div_texbox">
					<select name="periodo_codigo">
						<c:forEach var="periodo" items="${periodos}">
							<option value="${periodo.codigo}" ${periodo.codigo eq aluno.periodo.codigo ? "SELECTED" : ""}>${periodo.nome}</option>
						</c:forEach>
					</select>					
				</div>
								
				<div class="button_div">
					<input name="corrigir" type="submit" value="Corrigir" class="buttons"/>
				</div>				
			</form>
	              

</div>	
	  
		<jsp:include page="constFooter.jsp"></jsp:include>
		</div>
			<div id="bottom"></div>
	</div>
	
	</body>
	</html>
